package com.erp.pur.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.erp.pur.dao.GroupLogDao;
import com.erp.pur.domain.GroupLogDO;
import com.erp.pur.service.GroupLogService;

@Service
public class GroupLogServiceImpl implements GroupLogService {
	@Autowired
	private GroupLogDao groupLogDao;
	
	@Override
	public GroupLogDO get(Long id){
		return groupLogDao.get(id);
	}
	
	@Override
	public List<GroupLogDO> list(Map<String, Object> map){
		return groupLogDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return groupLogDao.count(map);
	}
	
	@Override
	public int save(GroupLogDO groupLog){
		return groupLogDao.save(groupLog);
	}
	
	@Override
	public int update(GroupLogDO groupLog){
		return groupLogDao.update(groupLog);
	}
	
	@Override
	public int remove(Long id){
		return groupLogDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return groupLogDao.batchRemove(ids);
	}

	@Override
	public List<GroupLogDO> getLogList(Long id) {
		return groupLogDao.getLogList(id);
	}

}
